package service;

import java.sql.SQLException;
import java.util.List;

import domain.User;

public interface UserService {
	public User login (User user) throws SQLException;
	
	public User signin (User user) throws SQLException;
	
	public boolean register (User user) throws SQLException;
	
	public User findUserById (int id) throws SQLException;
	
	public boolean updateUser (User user)  throws SQLException;
	
	public List<User> findUsers (String id, String username, int page, int limit) throws SQLException;
}
